//
//  QBWordModel.h
//  QiuBai
//
//  Created by yaohongchao on 4/27/16.
//  Copyright © 2016 yaohongchao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MJExtension.h"
#import "QBBaseModel.h"

@class Item,Vote,User,ImageSize;
@interface QBWordModel : NSObject


@property (nonatomic, assign) NSInteger err;

@property (nonatomic, assign) NSInteger refresh;

@property (nonatomic, assign) NSInteger count;

@property (nonatomic, strong) NSArray<Item *> *items;

@property (nonatomic, assign) NSInteger total;

@property (nonatomic, assign) NSInteger page;


@end

@interface Item : NSObject

@property (nonatomic, assign) NSInteger published_at;

@property (nonatomic, assign) NSInteger ID;

@property (nonatomic, copy) NSString *content;

@property (nonatomic, copy) NSString *state;

@property (nonatomic, assign) NSInteger created_at;

@property (nonatomic, copy) NSString *type;

@property (nonatomic, copy) NSString *tag;

@property (nonatomic, copy) NSString *image;

@property (nonatomic, copy) NSString *imageUrl;

@property (nonatomic, strong) ImageSize *image_size;

@property (nonatomic, copy) NSString *format;

@property (nonatomic, assign) BOOL allow_comment;

@property (nonatomic, assign) NSInteger comments_count;

@property (nonatomic, strong) User *user;

@property (nonatomic, assign) NSInteger share_count;

@property (nonatomic, strong) Vote *votes;

//video
@property (nonatomic, copy) NSString *low_url;

@property (nonatomic, strong) NSArray<NSNumber *> *pic_size;

@property (nonatomic, assign) NSInteger loop;

@property (nonatomic, copy) NSString *pic_url;


@property (nonatomic, copy) NSString *high_url;

@property (nonatomic, assign) CGFloat cellHeight;
@property (nonatomic, assign) CGFloat imageHeight;

@end



@interface ImageSize : NSObject

@property (nonatomic, strong) NSArray<NSNumber *> *s;

@property (nonatomic, strong) NSArray<NSNumber *> *m;

@end

